package pj.control;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("")
public class SmsController {


    @GetMapping("/api1/sendMsgV3")
    public String sendMsgV3(String msg) throws Exception{

        System.out.println("---------------------------msg:"+msg);

        return "success";
    }

    @GetMapping("/api/sendMsgV3")
    public String sendMsgV(String msg) throws Exception{
        System.out.println("---------------------------msg2:"+msg);
        return "success";
    }



}
